﻿using System.Web.UI;
using System.Linq;

namespace AutoCompleteTextBox
{
    public class AutocompleteArrayDataSourceItem : Control
    {
        public string GetItems()
        {
            var item = Controls.OfType<LiteralControl>().FirstOrDefault();
            return item.Text;
        }
    }
}
